package com.thrsdk.model.protocol.bean;


public class ResCertificate {

    private boolean result;  //认证结果： true成功，  false失败
    private boolean isRealname;   //是否已经实名
    private boolean isAdult;   //是否已经未成年人
    private int age;   //年龄阶段，【8至15周岁，16至18周岁，18以上是已成年】
    private String msg;  //SDK提示信息


    public boolean getResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public boolean isRealname() {
        return isRealname;
    }

    public void setRealname(boolean realname) {
        isRealname = realname;
    }

    public boolean isAdult() {
        return isAdult;
    }

    public void setAdult(boolean adult) {
        isAdult = adult;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "ResCertificate{" +
                "result=" + result +
                ", isRealname=" + isRealname +
                ", isAdult=" + isAdult +
                ", age=" + age +
                ", msg='" + msg + '\'' +
                '}';
    }
}
